[INFO] cloning repository https://github.com/kenji114/rust-socket-programming
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kenji114/rust-socket-programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenji114%2Frust-socket-programming", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenji114%2Frust-socket-programming'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 11fc528789a9b4c9989a0102b1e79a4234ad705d
[INFO] building kenji114/rust-socket-programming against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenji114%2Frust-socket-programming" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kenji114/rust-socket-programming on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kenji114/rust-socket-programming
[INFO] finished tweaking git repo https://github.com/kenji114/rust-socket-programming
[INFO] tweaked toml for git repo https://github.com/kenji114/rust-socket-programming written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/kenji114/rust-socket-programming already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d932ff80895027830d6e7d1726585b86ef5586fd8c0228adce0bb2464347a22d
[INFO] running `Command { std: "docker" "start" "-a" "d932ff80895027830d6e7d1726585b86ef5586fd8c0228adce0bb2464347a22d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d932ff80895027830d6e7d1726585b86ef5586fd8c0228adce0bb2464347a22d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d932ff80895027830d6e7d1726585b86ef5586fd8c0228adce0bb2464347a22d", kill_on_drop: false }`
[INFO] [stdout] d932ff80895027830d6e7d1726585b86ef5586fd8c0228adce0bb2464347a22d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ac8d9e56e497fafc4037db82fa8a91277884e93cf00482e3bedef67b7dec880
[INFO] running `Command { std: "docker" "start" "-a" "1ac8d9e56e497fafc4037db82fa8a91277884e93cf00482e3bedef67b7dec880", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling gimli v0.26.1
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling object v0.27.1
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling rustc-demangle v0.1.21
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling backtrace v0.3.63
[INFO] [stderr]    Compiling addr2line v0.17.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling rust-socket-programming v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Read`, `Write`
[INFO] [stdout]  --> src/tcp_server.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tcp_server.rs:21:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn handler(mut stream: TcpStream) -> Result<(), failure::Error>{
[INFO] [stdout]    |    -------                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), failure::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-socket-programming` due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "1ac8d9e56e497fafc4037db82fa8a91277884e93cf00482e3bedef67b7dec880", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ac8d9e56e497fafc4037db82fa8a91277884e93cf00482e3bedef67b7dec880", kill_on_drop: false }`
[INFO] [stdout] 1ac8d9e56e497fafc4037db82fa8a91277884e93cf00482e3bedef67b7dec880
